package com.hl.qzzpbackend.model.dto.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 重置密码请求类
 * @author helong
 */
@Data
@ApiModel(value = "重置密码请求类")
public class UserResetPasswordRequest implements Serializable {

    private static final long serialVersionUID = -2997095022800037518L;

    /**
     * id
     */
    @NotNull(message = "id不能为空")
    @Min(value = 1, message = "id不能小于1")
    @ApiModelProperty(value = "id")
    private Long id;

}
